package com.apis.fabu;

import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmNewsDto;
import com.usian.model.media.dtos.WmNewsPageReqDto;
import com.usian.model.media.pojos.WmNews;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface AdFabuApi {
    public  List<Integer> zidongshenhe();

    public WmNews getbynew(@RequestParam Integer id);
    public WmNews getfindbyid(@RequestParam Integer id);

    public ResponseResult findbyid(@RequestParam Integer id);
    public ResponseResult list(@RequestBody WmNewsDto dto);

    public ResponseResult submit(@RequestBody WmNewsDto dto);

    public ResponseResult updatewmnews(@RequestBody WmNews wmNews);

}
